#
# LAPI Server
#

LOCAL_PATH:= $(call my-dir)

include $(CLEAR_VARS)

LOCAL_C_INCLUDES := \
	$(LOCAL_PATH)

LOCAL_SRC_FILES:= \
    lapi_srv.c \
	lapi_ipc.c \
	lapi_log.c \
	lapi_pid.c \
	lapi_setting.c \
	#lapi_hw.c \
	lapi_lpl.c \
	lapi_listener.c

LOCAL_SHARED_LIBRARIES := \
	libcutils
	#libutils \

#LOCAL_CFLAGS := -D_GNU_SOURCE -DLPL_LINUX -DLAPI_DEBUG -DLAPI_ON_ANDROID
LOCAL_CFLAGS := -DLAPI_DEBUG -DLAPI_ON_ANDROID

#LOCAL_LDLIBS += -lpthread -lm
LOCAL_LDLIBS += -lpthread

LOCAL_MODULE := lapisrv

include $(BUILD_EXECUTABLE)
